package com.sitech.ibnms.c3p.mappers;

import com.sitech.ibnms.c3p.domain.C3pManualTask;
import com.sitech.ismp.workflow.domain.Task;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2015/1/8.
 */
public interface C3pManualTaskMapper {

    void addManualTask(C3pManualTask manualTask);

    int deleteByTaskId(@Param("taskId") int taskId);

    int deleteByExecId(@Param("execId") int execId);

    List<Task> queryTimeoutUnManualTask();

    Task queryTaskInfoById(@Param("taskId") int taskId);

    Task queryHaveDoneTaskInfoById(@Param("taskId") int taskId);
}
